package com.wwj.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@EnableDiscoveryClient //注解开启服务注册与发现功能
public class GulimallGatewayApplication {

    public static void main(String[] args) {
        ApplicationContext ioc =
                SpringApplication.run(GulimallGatewayApplication.class, args);
    }
}
